<?php /* Smarty version 2.6.26, created on 2010-05-28 19:53:12
         compiled from cms.users.tpl */ ?>
<div class="dashboard_item">    <a href="?q=command:cms;view:cms.users;" style="color:#ff9600">BRUGERE<img alt="" src="style/icons/Users.png" /></a>    <div class="dashboard_item_content">        <div class="pages_list_toolbox" style="float:none;margin-left:auto;">            <a href="?q=command:cms;view:cms.users.editor;"><img class="" alt="" src="style/icons/Add.png" /></a>        </div>        <div class="clear"></div>        <table id="userTable" cellspacing="0" cellpadding="1">            <thead>                <tr>                    <td>Brugernavn</td>                    <td>Navn</td>                    <td>Rolle</td>                    <td></td>                </tr>            </thead>            <tbody>                <?php $_from = $this->_tpl_vars['userlist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['i']):
?>                <tr>                    <td>                        <span><?php echo $this->_tpl_vars['k']; ?>
</span>                    </td>                    <td>                        <span><?php echo $this->_tpl_vars['i']['name']; ?>
</span>                    </td>                    <td>                        <span><?php echo $this->_tpl_vars['i']['permissions']['id']; ?>
</span>                    </td>                    <td>                        <a <?php if (! $this->_tpl_vars['i']['deleteable']): ?>href="#" class="dead"<?php else: ?>href="?q=command:do;action:user.delete;user:<?php echo $this->_tpl_vars['k']; ?>
;" class="confirm"<?php endif; ?>>                            <img alt="Fjern bruger" src="style/icons/Remove.png" <?php if (! $this->_tpl_vars['i']['deleteable']): ?>title="Du kan ikke slette denne bruger!"<?php endif; ?>/>                        </a>                        <a href="?q=command:cms;view:cms.users.editor;user:<?php echo $this->_tpl_vars['k']; ?>
;">                            <img class="" alt="" src="style/icons/Gear.png" />                        </a>                    </td>                </tr>                <?php endforeach; endif; unset($_from); ?>            </tbody>        </table>        <div class="clear"></div>    </div></div><?php echo '<script type="text/javascript">    $(function(){        $(\'#userTable tr\').css({\'background\':\'#feffd9\'});        $(\'#userTable tr td\').css({\'padding\':10});        $(\'#userTable thead tr td\').css({\'font-weight\':\'bold\',\'background\':\'#feffc9\'});        $(\'#userTable tbody tr\').hover(function(){            $(this).css({\'background\':\'#ffffe8\'});        },function(){            $(this).css({\'background\':\'#feffd9\'});        });    });</script>'; ?>